

#ifndef WCIPrivate_h__
#define WCIPrivate_h__
#include <stdint.h>
#include "WCI.h"

typedef struct WCIOpsStruct WCIOps;

struct WCIStruct {
	const WCIOps* ops;
	const char *name;
	int support;
	int mode;
	int config;
	int fifoSize;
};

struct WCIOpsStruct {
	int (*setMode)(WCI*, int);
	int(*config)(WCI*, int );
#if 0
	int(*control)(WCI* wci, unsigned char ctrl,
		unsigned char* pin, unsigned int ilen, unsigned char* pout, unsigned int* olen);
#endif 

#if 0
	int(*clearFifo)(WCI* wci);
	int(*writeFifo)(WCI* wci, uint8_t* buf, uint16_t len);
	int(*readFifo)(WCI* wci, uint8_t* buf, uint16_t len);
	int(*fifoSpace)(WCI* wci);
	int(*fifoLength)(WCI* wci);
#endif 
	int(*command)(WCI* wci, uint8_t cmd, WciTime_T* time, void* param);
};

#endif // WCIPrivate_h__

